//
//  IntroduceManager.m
//  ModuleCenter_Dynamic
//
//  Created by 陈狄夫 on 2021/4/30.
//

#import "IntroduceManager.h"
#import "Father.h"
#import "Mather.h"
#import "Son.h"

@implementation IntroduceManager

+ (instancetype)defaultManager{
    static IntroduceManager *manager;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        manager = [[IntroduceManager alloc]init];
    });
    return manager;
}

- (void)familyIntrduce{
    Father *fater = [[Father alloc]init];
    Mather *mather = [[Mather alloc]init];
    Son *son = [[Son alloc]init];
    
    [fater introduce];
    [mather introduce];
    [son introduce];
}

@end
